package com.calsoft.Hops_Mobile_Tablet.base;
/*
 * User: Minh Diep
 * Date: 7/8/13
 * Time: 2:56 PM
 */

import android.database.Cursor;

public class OpToursItemData {

    private int id;
    private String t_type;
    private String city;
    private String landServiceCode;
    private String serviceType;
    private String displayName;
    private String serviceName;
    private String imageTag;
    private String price;
    private String wishList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getWishList() {
        return wishList;
    }

    public void setWishList(String wishList) {
        this.wishList = wishList;
    }

    public OpToursItemData(int id, String t_type, String city, String landServiceCode, String serviceType, String displayName, String serviceName, String imageTag, String price) {
        this.id = id;
        this.t_type = t_type;
        this.city = city;
        this.landServiceCode = landServiceCode;
        this.serviceType = serviceType;
        this.displayName = displayName;
        this.serviceName = serviceName;
        this.imageTag = imageTag;
        this.price = price;
    }

    public OpToursItemData(Cursor cursor){
        this.id = cursor.getInt(0);
        this.t_type = cursor.getString(1);
        this.city = cursor.getString(2);
        this.landServiceCode = cursor.getString(3);
        this.serviceType = cursor.getString(4);
        this.displayName = cursor.getString(5);
        this.serviceName = cursor.getString(6);
        this.imageTag = cursor.getString(7);
        this.price = cursor.getString(8);
        this.wishList = cursor.getString(9);
    }

    public String getT_type() {
        return t_type;
    }

    public void setT_type(String t_type) {
        this.t_type = t_type;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getLandServiceCode() {
        return landServiceCode;
    }

    public void setLandServiceCode(String landServiceCode) {
        this.landServiceCode = landServiceCode;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getImageTag() {
        return imageTag;
    }

    public void setImageTag(String imageTag) {
        this.imageTag = imageTag;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }
}
